export default {
    Category: {
        list: '/tb/category/getAll',
        detail: '/tb/category',
    },
	Product: {
        publish: '/tb/product/publish',
		recommend: '/tb/product/recommend',
        detail: '/tb/product',
        myPublish: '/tb/product/myPublish',
        delisted: '/tb/product/delisted',
        available: '/tb/product/available',
        // 点赞
        like: '/tb/product/like',
        favorite: '/tb/product/favorite',
	},
    Comments: {
        list: '/tb/comments/list',
        add: '/tb/comments/add'
    },
    Order: {
        myOrder: '/tb/orderInfo/myOrder',
        create: '/tb/orderInfo/create',
        info: '/tb/orderInfo/info',
        cancel: '/tb/orderInfo/cancel',
        confirmPay: '/tb/orderInfo/confirmPay',
        confirmShipped: '/tb/orderInfo/confirmShipped',
        confirmCompleted: '/tb/orderInfo/confirmCompleted'
    },
    Address: {
        list: '/tb/userAddress/myList',
        save: '/tb/userAddress/save',
        add: '/tb/userAddress/add',
        update: '/tb/userAddress/update',
        delete: '/tb/userAddress/delete',
        info: '/tb/userAddress/info'
    },
    Message: {
        getMessageHeadList: '/tb/message/getMessageHeadList',
        getMyHistoryReadMessage: '/tb/message/getMyHistoryReadMessage',
        getMyNewestMessage: '/tb/message/getMyNewestMessage',
        sendMessage: '/tb/message/sendMessage'
    },
    Oss: {
        upload: '/sys/oss/upload'
    },
//用户类
    User: {
        login:'/tb/user/login', //密码登录
        seller: '/tb/user/seller', // 卖家信息
        register: '/sys/user/register',
        userInfo: '/tb/user/userInfo',
        editProfile: '/sys/user/editProfile'
    }

}
